inline int my_money(int x)
{
	int money;
	if(x <=0)
	{
		return 0;
	}
	if(x == 1)
	{
		money = 100;
	}
	if(x > 1)
	{
		money = 100 + 10 * (x - 1);
	}
	
	return money;
}